package com.gyg.controller;


import com.gyg.returns.RespCode;
import com.gyg.returns.RespEntity;
import com.gyg.service.CloudVisitService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 * 云盘访问量表 前端控制器
 * </p>
 *
 * @author gyg
 * @since 2021-04-14
 */
@RestController
@RequestMapping("/cloud-visit")
@Api(value = "云盘访问量", tags = "云盘访问量")
@Slf4j
public class CloudVisitController {

    @Resource
    private CloudVisitService cloudVisitService;

    @PostMapping("/access")
    @ApiOperation(value = "访问量数据接入")
    public void visitAccess() {
        cloudVisitService.visitAccess();
    }

}
